/*
 * reference Facebook.
 *
 * visikard base exception.
 */

package com.visikard.net;

/**
 * Visikard base exception
 * 
 * @author TuanNgo
 */
public class VKregisterException extends RuntimeException {
    static final long serialVersionUID = 1L;
    
    protected String errorCode;

    /**
     * Constructs a new FacebookException.
     */
    public VKregisterException() {
        super();
    }

    /**
     * Constructs a new FacebookException.
     * 
     * @param message
     *            the detail message of this exception
     */
    public VKregisterException(String message) {
        super(message);
    }

    /**
     * Constructs a new FacebookException.
     * 
     * @param message
     *            the detail message of this exception
     * @param throwable
     *            the cause of this exception
     */
    public VKregisterException(String message, Throwable throwable) {
        super(message, throwable);
    }

    /**
     * Constructs a new FacebookException.
     * 
     * @param throwable
     *            the cause of this exception
     */
    public VKregisterException(Throwable throwable) {
        super(throwable);
    }

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
}
